﻿using System;
using KLS.PPDS.Core.Entity.BaseEntities;

namespace KLS.PPDS.Core.Entity
{
    public class ContentImage : AuditEntity
    {
               
        
       
        public virtual int ContentId { get; set; }

        public virtual string Name { get; set; }
        public virtual string DiskFileName { get; set; }
        public virtual bool Cutout { get; set; }
        public virtual bool Retouch { get; set; }
        public virtual Byte[] Image { get; set; }
        public virtual int Size { get; set; }
        public virtual int ImageIndex { get; set; }

        public virtual string CompareFileName 
        {
            get 
            {
                return ImageIndex + Name;
            }
        }
    }
}
